﻿<%@ Page Title="写私信" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AddLetter.aspx.cs" Inherits="STP.Account.AddLetter" Async="true" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <div class="form-horizontal">
    <h4>发送私信</h4>
    <hr />
    <asp:PlaceHolder runat="server" ID="ErrorMessage" Visible="false">
        <p class="text-danger">
            <asp:Literal runat="server" ID="FailureText" />
        </p>
    </asp:PlaceHolder>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">发信人：</asp:Label>
        <div class="col-md-10">
            <asp:Label ID="Fname" runat="server"  CssClass="col-md-2 control-label"></asp:Label>
        </div>
    </div>
        <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">收信人：</asp:Label>
        <div class="col-md-10">
            <asp:Label ID="Tname" runat="server"  CssClass="col-md-2 control-label"></asp:Label>
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">标题：</asp:Label>
        <div class="col-md-10">
            <asp:TextBox runat="server" ID="MyTitle" CssClass="col-md-2 form-control" />
        </div>
    </div>
    <div class="form-group">
        <asp:Label runat="server"  CssClass="col-md-2 control-label">内容：</asp:Label>
        <div class="col-md-10">
        <asp:TextBox runat="server" ID="MyContent" CssClass="col-md-2 form-control" TextMode="MultiLine" MaxLength="1000" Height="200px" />
    </div>
    </div>
    <div class="form-group">
        <asp:Button runat="server" Text="发送" OnClick="submit_Click" CssClass="col-md-2 btn btn-default" />
    </div>
</div>

</asp:Content>
